import request from '@/utils/request'
import {useDecorateApi} from "@/utils/tools";

// 获取班级列表
export function teamlist(options, opts = {}) {
  return useDecorateApi(request({
    url: '/bksystem/class/list',
    method: 'get',
    params: options
  }),opts)
}


//主动加入学生
export function inviteJoin(options) {
  return request({
    url: '/bksystem/class/invite',
    method: 'post',
    data: options
  })
}

//删除一个学生
export function delStudyRow(id) {
  return request({
    url: '/bksystem/class/' + id,
    method: 'delete'
  })
}



